//线下
export const HTTP_URL = "http://114.55.146.142:4000";

//线上
// export const HTTP_URL = "http://116.62.53.15:4000";

//本地
// export const HTTP_URL = "http://192.168.200.84:4000";

export const HTTP_SUCCESS = '10001';

export const getLocalItem = (key: string): any => {
  return localStorage.getItem(key);
}

export const setLocalItem = (key: string, value: any): void => {
  localStorage.setItem(key, value + '');
}

export const removeLocalItem = (key: string): any => {
  return localStorage.removeItem(key);
}